<ul class="nav nav-pills nav-stacked">
    <foreach name="leftNavs" item="nav">
        <li
        <if condition="$nav['url'] eq $modelName">class="active"</if>
        ><a href="{:U($nav['url'].'/index')}">{$nav.title}</a></li>
    </foreach>
    <li><a href="{:U('Public/loginOut')}">退出</a></li>
</ul>